Repository navigation
Conversation
Check the open project file about once a second while the app is idle. A change is a different modification stamp and a different content hash, so touching a file or rewriting identical bytes does nothing. Clean projects reload and keep the current camera. Projects with unsaved changes show a prompt to keep them or reload from disk. Reloads wait until viewport gestures, modeling, text and rename edits finish, and a reload does not reorder Recent Projects.
4 tasks
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
One-line description
Reload a project in the desktop app when its file changes on disk, and ask first when there are unsaved changes.
This allows you to keep a model open while an LLM agent works on it in paralell. When changes are detected, the app asks if you want to reload from disk or override.
Changes in detail
.bupfiles externally.Testing
project_tests.rs: reload of a clean project, prompt with unsaved changes, own save not reloading, unreadable write retry, one-second check interval, same-content rewrite ignored, and deferral during a viewport drag.benchup-applibrary tests on this commit: all 27 project tests pass, and the branch adds no failures compared withmain.cargo checkforwasm32-unknown-unknownis free of warnings.